package com.yuyou.activity.comm.service.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class PayRefundNoticeTrade implements Serializable {
    /**
     * 主键
     */
    private Long payRefundNoticeTradeId;

    /**
     * 支付通知流水,请求唯一标记，用于日志记录和生产环境故障排查跟踪用
     */
    private String tradeSn;

    /**
     * 退款业务订单编号
     */
    private String refundId;

    /**
     * 集团支付中心退款订单号
     */
    private String refundOrderId;

    /**
     * 退款状态:
            1：退款成功，2：退款失败
     */
    private Integer refundStatus;

    /**
     * 退款金额
     */
    private Long refundAmount;

    /**
     * 商户附加信息，可做扩展参数，255 字符内
     */
    private String attach;

    /**
     * 状态码
            4010	无效appId: appId不属于当前被调用服务
            4011	无效sign：sign校验失败
            4012	无效订单：找不到退款订单
            4013	退款金额不一致
            
     */
    private String code;

    /**
     * 支付中心请求报文
     */
    private String zyRequest;

    /**
     * 支付中心返回报文
     */
    private String zyResponse;

    /**
     * 创建时间
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Long getPayRefundNoticeTradeId() {
        return payRefundNoticeTradeId;
    }

    public void setPayRefundNoticeTradeId(Long payRefundNoticeTradeId) {
        this.payRefundNoticeTradeId = payRefundNoticeTradeId;
    }

    public String getTradeSn() {
        return tradeSn;
    }

    public void setTradeSn(String tradeSn) {
        this.tradeSn = tradeSn;
    }

    public String getRefundId() {
        return refundId;
    }

    public void setRefundId(String refundId) {
        this.refundId = refundId;
    }

    public String getRefundOrderId() {
        return refundOrderId;
    }

    public void setRefundOrderId(String refundOrderId) {
        this.refundOrderId = refundOrderId;
    }

    public Integer getRefundStatus() {
        return refundStatus;
    }

    public void setRefundStatus(Integer refundStatus) {
        this.refundStatus = refundStatus;
    }

    public Long getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(Long refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getZyRequest() {
        return zyRequest;
    }

    public void setZyRequest(String zyRequest) {
        this.zyRequest = zyRequest;
    }

    public String getZyResponse() {
        return zyResponse;
    }

    public void setZyResponse(String zyResponse) {
        this.zyResponse = zyResponse;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}